//定义视频编码器与平台网络通信协议中使用到的数据类型
#ifndef __WIN_TYPES_H__
#define __WIN_TYPES_H__

typedef int BOOL;
typedef unsigned char BYTE;
typedef unsigned char * PBYTE;
typedef unsigned char * LPBYTE;
typedef unsigned short WORD;
typedef unsigned long DWORD;
typedef unsigned int UINT;

#define FALSE 0
#define TRUE  1

//liyz add:2011-12-23
typedef	char CHAR; 
typedef	short SHORT ;
typedef int INT; 
typedef	unsigned char UCHAR; 
typedef	unsigned short USHORT; 

//typedef unsigned long long      U64; //Linux
//typedef unsigned __int64        U64; //win32

//#undef INVALID_SOCKET
#ifndef INVALID_SOCKET
	#define INVALID_SOCKET  (-1)
#endif

//#undef NULL
#ifndef NULL
	#define NULL ((void *)0)
#endif

#endif /* __WIN_TYPES_H__ */
